/**
 * Created by Administrator on 2016/7/1.
 */
'use strict';
swan_pc.config(
    function($stateProvider){
        $stateProvider
            .state('agenda', {
                parent:'site',
                url:'/agenda',
                data:{
                    pageTitle:'agenda'
                },
                views:{
                    'content@':{
                        templateUrl:'scripts/components/myself/agenda/agenda.html',
                        controller:'AgendaController'
                    }
                }
            })
            .state('agendalistshow',{
                parent:'agenda',
                url:'/agendalistshow',
                views:{
                    "AgendaOrInput@agenda":{
                        templateUrl:"scripts/components/myself/agenda/agendaListShow/agendaListShow.html",
                        controller:"ListShowController"
                    }
                }
            })
            .state('agendadetailshow',{
                parent:'agenda',
                url:'/agendadetailshow',
                views:{
                    "AgendaOrInput@agenda":{
                        templateUrl:"scripts/components/myself/agenda/agendaDetailShow/agendaDetailShow.html",
                        controller:"DetailShowController"
                    }
                }
            })
    });
